package top.linruchang.domain;

import java.util.List;

/**
 * @Classname User
 * @Description
 * @Date 2020/3/15 13:01
 * @Created by lrc
 */
public class User {


    Integer user_id;
    Integer role_id;
    String loginName;
    String password;
    String nickname;
    String headImg;
    UmsRole role;
    List<OmsOrder> orders;

    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public Integer getRole_id() {
        return role_id;
    }

    public void setRole_id(Integer role_id) {
        this.role_id = role_id;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getHeadImg() {
        return headImg;
    }

    public void setHeadImg(String headImg) {
        this.headImg = headImg;
    }

    public UmsRole getRole() {
        return role;
    }

    public void setRole(UmsRole role) {
        this.role = role;
    }

    public List<OmsOrder> getOrders() {
        return orders;
    }

    public void setOrders(List<OmsOrder> orders) {
        this.orders = orders;
    }



    @Override
    public String toString() {
        return "User{" +
                "user_id=" + user_id +
                ", role_id=" + role_id +
                ", loginName='" + loginName + '\'' +
                ", password='" + password + '\'' +
                ", nickname='" + nickname + '\'' +
                ", headImg='" + headImg + '\'' +
                ", role=" + role +
                ", orders=" + orders +
                '}';
    }
}
